package com.future.mayi.model;


import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class OldGoodsModel implements Serializable {


//    goods_id	int	商品ID
//    goods_type	int	商品类型 0-商城商品 1-寄卖商品
//    sku	string	货号
//    goods_sn	string	商品编码
//    goods_img	string	商品图片
//    goods_title	string	商品标题
//    original_cost	float	原价
//    price	float	售价
//    is_credit	int	是否可分期 0-否 1-是
//    quality_name	string	商品成色
//    is_sales	int	是否降价 0-否 1-是


    private int goods_id;
    private int goods_type;
    private String sku;
    private String goods_sn;
    private String goods_img;
    private String goods_title;
    private double original_cost;
    private double price;
    private int is_credit;
    private String quality_name;
    private int is_sales;
    private int original_costX;
    private double priceX;
    //商品图文详情
    private String goods_desc;
    //商品图片列表
    private List<String> list_img;
    //商品参数
    private Map<String, String> goods_config;
    //商品代码（分享用）
    private String goods_code;
    //是否降价 0-否 1-是
    private int status;

    //自加字段  个数
    private int num;
    private int goods_spec_id;
    private String spec_value;

    private String brand_name;

    //最近一次修改前
    private double last_price;
    private double markdown;

    public int getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    public int getGoods_type() {
        return goods_type;
    }

    public void setGoods_type(int goods_type) {
        this.goods_type = goods_type;
    }

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public String getGoods_sn() {
        return goods_sn;
    }

    public void setGoods_sn(String goods_sn) {
        this.goods_sn = goods_sn;
    }

    public String getGoods_img() {
        return goods_img;
    }

    public void setGoods_img(String goods_img) {
        this.goods_img = goods_img;
    }

    public String getGoods_title() {
        return goods_title;
    }

    public void setGoods_title(String goods_title) {
        this.goods_title = goods_title;
    }


    public double getOriginal_cost() {
        return original_cost;
    }

    public void setOriginal_cost(double original_cost) {
        this.original_cost = original_cost;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getIs_credit() {
        return is_credit;
    }

    public void setIs_credit(int is_credit) {
        this.is_credit = is_credit;
    }

    public String getQuality_name() {
        return quality_name;
    }

    public void setQuality_name(String quality_name) {
        this.quality_name = quality_name;
    }

    public int getIs_sales() {
        return is_sales;
    }

    public void setIs_sales(int is_sales) {
        this.is_sales = is_sales;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getOriginal_costX() {
        return original_costX;
    }

    public void setOriginal_costX(int original_costX) {
        this.original_costX = original_costX;
    }

    public double getPriceX() {
        return priceX;
    }

    public void setPriceX(double priceX) {
        this.priceX = priceX;
    }

    public String getGoods_desc() {
        return goods_desc;
    }

    public void setGoods_desc(String goods_desc) {
        this.goods_desc = goods_desc;
    }

    public List<String> getList_img() {
        return list_img;
    }

    public void setList_img(List<String> list_img) {
        this.list_img = list_img;
    }

    public Map<String, String> getGoods_config() {
        return goods_config;
    }

    public void setGoods_config(Map<String, String> goods_config) {
        this.goods_config = goods_config;
    }

    public String getGoods_code() {
        return goods_code;
    }

    public void setGoods_code(String goods_code) {
        this.goods_code = goods_code;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }


    public String getBrand_name() {
        return brand_name;
    }

    public void setBrand_name(String brand_name) {
        this.brand_name = brand_name;
    }

    public double getLast_price() {
        return last_price;
    }

    public void setLast_price(double last_price) {
        this.last_price = last_price;
    }

    public double getMarkdown() {
        return markdown;
    }

    public void setMarkdown(double markdown) {
        this.markdown = markdown;
    }

    public int getGoods_spec_id() {
        return goods_spec_id;
    }

    public void setGoods_spec_id(int goods_spec_id) {
        this.goods_spec_id = goods_spec_id;
    }

    public String getSpec_value() {
        return spec_value;
    }

    public void setSpec_value(String spec_value) {
        this.spec_value = spec_value;
    }
}
